import Layout from '@/new_layout'
export default [
  {
    path: '/employment',
    component: Layout,
    redirect: '/employment/student',
    name: 'employment',
    meta: { title: '就业信息管理', icon: 'form', roles: ['就业'] },
    children: [
      {
        path: 'student',
        component: () => import('@/views/employment/student/list'),
        name: 'employment-student',
        meta: { title: '学生管理' }
      },
      {
        path: 'add',
        name: 'employment-student-add',
        hidden: true,
        component: () => import('@/views/employment/student/edit'),
        meta: { title: '新增学生' }
      }, {
        path: 'edit',
        name: 'employment-student-edit',
        hidden: true,
        component: () => import('@/views/employment/student/edit'),
        meta: { title: '编辑学生' }
      }
    ]
  }
]
